{% extends "base.html" %}
{% load Ffilter %}

{% block content %}
    <table class="file_list">
        <thead>
            <tr class="file_field">
                <th>
                    <input type="checkbox" name="file">
                </th>
                <th>文件名称</th>
                <th>修改时间</th>
                <th>文件大小</th>
            </tr>
        </thead>
        <tbody class="tbody">
            {% for data in file_list %}
            <tr class="file_data">
                <td>
                    <input type="checkbox" name="file" value="{{ data.id }}">
                </td>
                <td><a href="/file_info/{{ data.id }}/">{{ data.file_name }}</a></td>
                <td>{{ data.upload_time }}</td>
                <td>{{ data.upload_size }}</td>
            </tr>
            {% endfor %}
        </tbody>
    </table>
{% endblock %}